import React, { Component, Fragment } from "react";

import { Tabs } from "antd";

// 合并页面
import StorageNas from "./Nas";
import StorageOss from "./Oss";


const { TabPane } = Tabs;

class Index extends Component {
    constructor(props){
        super(props);  
        this.setState = {} 
    }

    render(){
        return (
            <Fragment>
                <Tabs defaultActiveKey="1">
                    <TabPane tab="对象存储OSS" key="1">
                        <StorageOss />
                    </TabPane>
                    <TabPane tab="文件存储NAS" key="2">
                        <StorageNas />
                    </TabPane>
                </Tabs>

            </Fragment>
        )
    }
}

export default Index;